<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//对象字面量型式,原型被隐式的设置未Object.prototype
			var rectangle = {sizeType:"四边形"};
			//Object.create()创建,显示指定为Object.prototype
			var rectangle = Object.create(Object.prototype,{
				sizeType:{
					configurable:true,
					enumerable:true,
					value:'四边形',
					writable:true
				}
			})
			console.log(rectangle);
		</script>
	</body>
</html>
